package org.csu.goodpartner.service;

import org.csu.goodpartner.VO.OrderVO;
import org.csu.goodpartner.common.CommonResponse;

import java.util.List;

public interface OrderService{
    //展示所有订单
    CommonResponse<List<OrderVO>> getAllOrders(int shopId);
    //按照status分类展示所有订单
    CommonResponse<List<OrderVO>> getOrderByStatus(int shopId,int status);
    //模糊查询
    CommonResponse<List<OrderVO>> getOrderByLike(int shopId,String like);
    //发货
    CommonResponse deliverOrder(int orderId);
    //不同意退货
    CommonResponse rejectRefund(int orderId);
}
